﻿@using MinistryStandardPlatformWeb
<link rel="Stylesheet" href="~/Content/themes/autocomplete/jquery.autocomplete.css" />
<script type="text/javascript" src="~/Scripts/jquery.autocomplete.js"></script>
<script src="~/Scripts/project/reportcentermanage.js"></script>
<script src="~/Scripts/project/reportcentertree.js"></script>
<style>
    .titlediv
    {
        height: 30px;
        line-height: 30px;
        color: white;
        font-size: 18px;
        margin-top: 3px;
        margin-left: 3px;
        clear: both;
    }

    .titleheaderdiv
    {
        padding-left: 30px;
        background-color: rgb(167,216,212);
        height: 30px;
        line-height: 30px;
        vertical-align: middle;
    }

    .titlediv img
    {
        vertical-align: middle;
        margin-right: 5px;
    }

    .titlediv label
    {
        vertical-align: middle;
    }

    .gradientbg
    {
        height: 30px;
        width: 50%;
        line-height: 30px;
        FILTER: progid:DXImageTransform.Microsoft.Gradient(gradientType=0,startColorStr=rgb(167,216,212),endColorStr=#fff); /*IE 6 7 8*/
        background: -ms-linear-gradient(left, rgb(167,216,212), #ffffff); /* IE 10 */
        background: -moz-linear-gradient(left,rgb(167,216,212),#ffffff); /*火狐*/
        background: -webkit-gradient(linear, 0% 0%, 0% 100%,from(rgb(167,216,212)), to(#ffffff)); /*谷歌*/
        background: -webkit-linear-gradient(right, #ffffff, rgb(167,216,212)); /*Safari5.1 Chrome 10+*/
        background: -o-linear-gradient(left, rgb(167,216,212), #ffffff); /*Opera 11.10+*/
        /*background-color:rgb(45,184,173); 
        FILTER: Alpha(Opacity=100,Finishopacity=0,Style=1,Startx=0,Starty=0,Finishx=500,Finishy=0);*/
    }

    .reports
    {
        margin-top: 15px;
        margin-bottom:15px;
    }

    .reports ul
    {
        list-style: none; /* 去掉ul前面的符号 */
        margin: 0;
        padding: 0;
        width: auto; /* 宽度根据元素内容调整 */
    }

    .reports ul li
    {
        margin-left: 15px;
        margin-right: 10px;
        margin-bottom:10px;
        padding:5px;
        width: 80px;
        height: 90px;
        text-align: center;
        float: left;
        border-radius:4px;
    }

    .reports ul li:hover
    {
        background:rgb(167,216,212);
    }

    .reports ul li.here
    {
        background:rgb(0,150,137);
    }
    .reports ul li img
    {
        width: 70px;
        height: 70px;
    }

    .ConditionInput
    {
        border: rgb(45,184,173) 2px solid;
        height: 22px;
    }

    .reports ul li
    {
        cursor: pointer;
    }
</style>
<div class="box horizontalbox fillparentheight">
    <div class="leftNav boxweight1 fillparentheight box verticalbox" style="margin-top: 3px;" id="lefttreediv">
    </div>
    <div class="rightContent boxweight5 fillparentheight">
        <div class="fillparentheight" style="overflow: auto;">
            @if(CommonFunctions.GetLoginUser().HasMenuRight("41"))
            {
            <div class="box horizontalbox titlediv">
                <div class="titleheaderdiv">
                    <img src="~/Images/ReportCenter/close.png" /><label>油量分析</label>
                </div>
                <div class="gradientbg"></div>
            </div>
            <div class="reports">
                <ul>
                    <li data-url="/OilGauge/Index" data-height="520" data-width="1100" data-searchformat="SimpleSearch">
                        <img src="~/Images/ReportCenter/yhybck.png" />
                        <label>油表查看</label>
                    </li>
                    <li data-url="/OilAnalysis/Index" data-height="600" data-width="1100" data-searchformat="OilAnalysisSearch">
                        <img src="~/Images/ReportCenter/yxcan.png" />
                        <label>油量分析</label>
                    </li>
                </ul>
            </div>
            }
            @if(CommonFunctions.GetLoginUser().HasMenuRight("42"))
            {<div class="box horizontalbox titlediv">
                <div class="titleheaderdiv">
                    <img src="~/Images/ReportCenter/close.png" /><label>常用报表</label>
                </div>
                <div class="gradientbg"></div>
            </div>
            <div class="reports">
                <ul>
                    @*<li data-url="/InstructionHistory/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/yhxjtj.png" />
                        <label>指令下发历史</label>
                    </li>
                    <li data-url="/TransDetail/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/yxmnlfx.png" />
                        <label>运输明细</label>
                    </li>*@
                    @*                    <li>
                        <img src="~/Images/ReportCenter/lcxszlc.png" />
                        <label>日行驶里程</label>
                    </li>*@
                    @*<li data-url="/UnloadInRoad/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/jczlzdsy.png" />
                        <label>在途卸料</label>
                    </li>
                    <li data-url="/NoTaskLeave/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/jczlzdaz.png" />
                        <label>无任务离场</label>
                    </li>*@
                    <li data-url="/OverSpeedWarning/Index" data-height="600" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/jqbjmx.png" />
                        <label>超速报警</label>
                    </li>
                    <li data-url="/TripStatistic/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/yxlswz.png" />
                        <label>趟次统计</label>
                    </li>
                </ul>
            </div>
            }
            @if(CommonFunctions.GetLoginUser().HasMenuRight("43"))
            {
            <div class="box horizontalbox titlediv">
                <div class="titleheaderdiv">
                    <img src="~/Images/ReportCenter/close.png" /><label>里程统计</label>
                </div>
                <div class="gradientbg"></div>
            </div>
            <div class="reports">
                <ul>
                    <li data-url="/MileageStatistics/Index" data-height="600" data-width="1100" data-searchformat="DateSearch">
                        <img src="~/Images/ReportCenter/lclctj.png" />
                        <label>日里程统计</label>
                    </li>
                    <li data-url="/MileageDetail/Index" data-height="520" data-width="1100" data-searchformat="DateSearch">
                        <img src="~/Images/ReportCenter/lclcmx.png" />
                        <label>里程明细</label>
                    </li>
                    <li data-url="/TotalMileageStatistics/Index" data-height="520" data-width="1100" data-searchformat="SimpleSearch">
                        <img src="~/Images/ReportCenter/lcxszlc.png" />
                        <label>总里程统计</label>
                    </li>
                </ul>
            </div>
            }
            @if(CommonFunctions.GetLoginUser().HasMenuRight("44"))
            {
            <div class="box horizontalbox titlediv">
                <div class="titleheaderdiv">
                    <img src="~/Images/ReportCenter/close.png" /><label>运行分析</label>
                </div>
                <div class="gradientbg"></div>
            </div>
            <div class="reports">
                <ul>
                    <li data-url="/OfflineAnalysis/Index" data-height="560" data-width="1100" data-searchformat="SimpleSearch">
                        <img src="~/Images/ReportCenter/yxlx.png" />
                        <label>离线分析</label>
                    </li>
                    <li data-url="/InOutRegion/Index" data-height="560" data-width="1100" data-searchformat="InOutRegionDateTimeSearch">
                        <img src="~/Images/ReportCenter/yxjcqy.png" />
                        <label>进出区域明细</label>
                    </li>
                    <li data-url="/UnloadStatistic/Index" data-height="560" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/yxxltj.png" />
                        <label>卸料统计</label>
                    </li>
                    <li data-url="/DriveStatistic/Index" data-height="560" data-width="1100" data-searchformat="OneCarDateTimeSearch">
                        <img src="~/Images/ReportCenter/yxxctj.png" />
                        <label>行车统计</label>
                    </li>
                    <li data-url="/StopWithAccOn/Index" data-height="560" data-width="1100" data-searchformat="StopWithAccOnDateTimeSearch">
                        <img src="~/Images/ReportCenter/yxwxhtctj.png" />
                        <label>未熄火停车</label>
                    </li>
                </ul>
            </div>
            }
            @if(CommonFunctions.GetLoginUser().HasMenuRight("45"))
            {
                <div class="box horizontalbox titlediv">
                <div class="titleheaderdiv">
                    <img src="~/Images/ReportCenter/close.png" /><label>报警分析</label>
                </div>
                <div class="gradientbg"></div>
            </div>
            <div class="reports">
                <ul>
                    <li data-url="/WarningDetail/Index" data-height="600" data-width="1100" data-searchformat="WarningDetailSearch">
                        <img src="~/Images/ReportCenter/jqbjmx.png" />
                        <label>报警明细</label>
                    </li>
                    <li data-url="/UnitWarningStatistics/Index" data-height="520" data-width="1100" data-searchformat="DateTimeSearch">
                        <img src="~/Images/ReportCenter/jqdwbjtj.png" />
                        <label>单位报警统计</label>
                    </li>
                </ul>
            </div>
            }
        </div>
        <div id="searchCondition">
            <input type="hidden" id="reporturl" />
            <input type="hidden" id="reporttext" />
            <input type="hidden" id="reportheight" />
            <input type="hidden" id="reportwidth" />
            <input type="hidden" id="vehicles" name="vehicles" />
            <input type="hidden" id="searchformat" name="searchformat" />
        </div>

        <div id="searchDiv" style="height: 100px; line-height: 100px; vertical-align: middle; border-top: 2px solid rgb(0,150,137);">
        </div>
    </div>

</div>
